package com.yuyou.fn.activity.entity;

import java.io.Serializable;
import java.util.Date;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;
import io.swagger.annotations.ApiModelProperty;

/**
 *
 * 活动信息表
 *
 */
@TableName(value = "activity")
public class Activity implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<Activity> createExample(){
		return new Example<Activity>(Activity.class);
	}

	/** 活动id */
	@TableId(value = "activity_id")
	private Long activityId;

	/**  */
	@TableField(value = "area_team_id")
	private Long areaTeamId;


	/** 来源大类 */
	@TableField(value = "parent_from_category_id")
	@ApiModelProperty("来源大类")
	private Long parentFromCategoryId;

	/** 来源小类 */
	@TableField(value = "child_from_category_id")
	@ApiModelProperty("来源小类")
	private Long childFromCategoryId;

	/** 活动名称 */
	@TableField(value = "activity_name")
	@ApiModelProperty("活动名称")
	private String activityName;

	/** 活动详情 */
	@TableField(value = "activity_content")
	@ApiModelProperty("活动详情")
	private String activityContent;

	/** 活动开始时间 */
	@TableField(value = "activity_start_date")
	@ApiModelProperty("活动开始时间")
	private Date activityStartDate;

	/** 活动最大报名数 */
	@TableField(value = "max_reg_num")
	@ApiModelProperty("活动最大报名数")
	private Integer maxRegNum;

	/** 报名成功后提示语 */
	@TableField(value = "success_msg")
	@ApiModelProperty("报名成功后提示语")
	private String successMsg;

	/** 成功后跳转链接 */
	@TableField(value = "success_url")
	@ApiModelProperty("成功后跳转链接")
	private String successUrl;

	/** 上架状态， 0:下架，1上架。 */
	@TableField(value = "shelves_status")
	@ApiModelProperty("上架状态， 0:下架，1上架")
	private Integer shelvesStatus;

	/** banner图地址 */
	@TableField(value = "banner_url")
	@ApiModelProperty("banner图地址")
	private String bannerUrl;


	/** 展示的json字段 */
	@TableField(value = "show_fields")
	@ApiModelProperty("展示的json字段")
	private String showFields;

	/** 关联期数 */
	@TableField(value = "period_id")
	@ApiModelProperty("关联期数")
	private Long periodId;

	/** 创建时间 */
	@TableField(value = "create_time")
	private Date createTime;

	/** 更新时间 */
	@TableField(value = "update_time")
	private Date updateTime;

	public Long getActivityId() {
		return this.activityId;
	}

	public void setActivityId(Long activityId) {
		this.activityId = activityId;
	}

	public Long getAreaTeamId() {
		return this.areaTeamId;
	}

	public void setAreaTeamId(Long areaTeamId) {
		this.areaTeamId = areaTeamId;
	}

	public String getActivityName() {
		return this.activityName;
	}

	public void setActivityName(String activityName) {
		this.activityName = activityName;
	}



	public Date getActivityStartDate() {
		return this.activityStartDate;
	}

	public void setActivityStartDate(Date activityStartDate) {
		this.activityStartDate = activityStartDate;
	}

	public Integer getMaxRegNum() {
		return this.maxRegNum;
	}

	public void setMaxRegNum(Integer maxRegNum) {
		this.maxRegNum = maxRegNum;
	}

	public String getSuccessMsg() {
		return this.successMsg;
	}

	public void setSuccessMsg(String successMsg) {
		this.successMsg = successMsg;
	}

	public String getSuccessUrl() {
		return this.successUrl;
	}

	public void setSuccessUrl(String successUrl) {
		this.successUrl = successUrl;
	}

	public Integer getShelvesStatus() {
		return this.shelvesStatus;
	}

	public void setShelvesStatus(Integer shelvesStatus) {
		this.shelvesStatus = shelvesStatus;
	}

	public String getBannerUrl() {
		return this.bannerUrl;
	}

	public void setBannerUrl(String bannerUrl) {
		this.bannerUrl = bannerUrl;
	}


	public String getActivityContent() {
		return activityContent;
	}

	public void setActivityContent(String activityContent) {
		this.activityContent = activityContent;
	}

	public String getShowFields() {
		return showFields;
	}

	public void setShowFields(String showFields) {
		this.showFields = showFields;
	}

	public Long getPeriodId() {
		return periodId;
	}

	public void setPeriodId(Long periodId) {
		this.periodId = periodId;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Long getParentFromCategoryId() {
		return parentFromCategoryId;
	}

	public void setParentFromCategoryId(Long parentFromCategoryId) {
		this.parentFromCategoryId = parentFromCategoryId;
	}

	public Long getChildFromCategoryId() {
		return childFromCategoryId;
	}

	public void setChildFromCategoryId(Long childFromCategoryId) {
		this.childFromCategoryId = childFromCategoryId;
	}
}
